//
//  CALayer+xBKKit.m
//  XPhoto
//
//  Created by sentinel on 2020/4/1.
//  Copyright © 2020 baboy. All rights reserved.
//

#import "CALayer+BKKit.h"
#import <objc/runtime.h>

@implementation CALayer(BKKit)
- (UIColor *)borderUIColor {
    return objc_getAssociatedObject(self, @selector(borderUIColor));
}
-(void)setBorderUIColor:(UIColor *)borderUIColor{
    objc_setAssociatedObject(self, @selector(borderUIColor), borderUIColor, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
    self.borderColor = borderUIColor.CGColor;
}
@end
